// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, or any plugin's
// vendor/assets/javascripts directory can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// compiled file. JavaScript code in this file should be added after the last require_* statement.
//
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
// about supported directives.
//
// art-template 原始语法与 RAILs ERB 有冲突, 修改原始语法为 {% %}, 重新打包, 原版 template-web.js 保留
// require template-web-for-rails
// 由于没有使用表单, 先注释掉 rails-ujs
// 先有jquery-ujs, jquery-ujs依赖于jquery, 就是在表单上做了remote: true, 这一堆helper, 免得程序员继续写额外的 ajax success代码, 之后有 jquery-rails 这个gem, 这个gem安装了最新的jquery, 和jquery-ujs, 方便前端不熟的后端程序员专门去下载 jquery
// 最后是 rails-ujs, 在rails 5.1版本, 由于 jquery 不再是现代前端开发标配, rails团队用 es6 的语法重写了 ujs 的所有功能, 让大家不用再安装jquery撑大应用体积, 在application.js 默认 require了 rails-ujs
// 重写的 rails-ujs 代码, https://github.com/rails/rails/commit/ad3a47759e67a411f3534309cdd704f12f6930a7
// require rails-ujs
